﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace LiSAClient.WpfClient.View.Frame.Menus
{
    /// <summary>
    /// Interaction logic for DetachedWindowMenu.xaml
    /// </summary>
    public partial class DetachedWindowMenu : UserControl
    {
        public DetachedWindowMenu()
        {
            InitializeComponent();
        }


        private void CloseButtonClick(object sender, RoutedEventArgs e)
        {
            var window = Window.GetWindow(this);
            if (window != null)
            {
                window.Close();
            }
        }
    }
}

